package com.bjpowernode.crm.mapper;

import com.bjpowernode.crm.pojo.Dept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DeptMapper {
    List getAll();

    void save(Dept dept);

    boolean exists(String no);
    boolean exists2(@Param("id") String id,
                    @Param("no") String no);
    boolean exists3(@Param("id") String id,
                    @Param("no") String no);

    Dept get(String id);

    void edit(Dept dept);

    void del(String[] ids);
}
